package com.example.xpvideo.entity.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

public class PhpFeedbackRes {
    /**
     *主键
     * 序号
     * isnull 1
     */
    @ApiModelProperty(value="序号",position=1)
    private Integer id;
    /**
     * 用户昵称
     * isnull 0
     */            private String nickname;
    /**
     * 用户头像
     * isnull 0
     */            private String avatar;
    /**
     * 提交时间
     * isnull 0
     */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value="提交时间",position=2)
    private LocalDateTime createTime;
    /**
     * 用户id
     * isnull 0
     */        @ApiModelProperty(value="用户id",position=3)
    private Integer userId;
    /**
     * 绑定手机号
     * isnull 0
     */        @ApiModelProperty(value="绑定手机号",position=4)
    private String phone;
    /**
     * 反馈类型
     * isnull 0
     */        @ApiModelProperty(value="反馈类型",position=5)
    private String feedbackType;
    /**
     * 反馈内容
     * isnull 0
     */        @ApiModelProperty(value="反馈内容",position=6)
    private String feedbackContent;
    /**
     * 附加图片
     * isnull 0
     */        @ApiModelProperty(value="附加图片",position=7)
    private String appendImages;

    /**
     * 提交时间
     * isnull 0
     */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value="提交时间",position=2)
    private LocalDateTime updateTime;
    private Integer isDel;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFeedbackType() {
        return feedbackType;
    }

    public void setFeedbackType(String feedbackType) {
        this.feedbackType = feedbackType;
    }

    public String getFeedbackContent() {
        return feedbackContent;
    }

    public void setFeedbackContent(String feedbackContent) {
        this.feedbackContent = feedbackContent;
    }

    public String getAppendImages() {
        return appendImages;
    }

    public void setAppendImages(String appendImages) {
        this.appendImages = appendImages;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}
